//==============================================================================
// male_anim.txt
//==============================================================================

import bow_defines_anim.txt

//==============================================================================
define Seeds
{
   set hotspot
   {
      version
      {
         Visualparticle SFX A Sow Seeds
      }
   }  
}

//==============================================================================
define SunLight
{
   set hotspot
   {
      version
      {
         Visualparticle SFX A God Power Summon Sunlight
      }
   }
}

//==============================================================================
define GroundGlow
{
   set hotspot
   {
      version
      {
         Visualparticle SFX A God Power Summon GroundGlow
      }
   }
}

//==============================================================================
define basket
{
   set hotspot
   {
      version
      {
         Visual Attachments A basket
      }
   }  
}

//==============================================================================
define heroglow
{
   set hotspot
   {
      version
      {
         Visualparticle SFX A Hero Glow Small
      }
   }
}

//==============================================================================
define soul
{
   set hotspot
   {
      version
      {
         Visualparticle SFX A Hero Soul
      }
   }
}

//==============================================================================
define soulaurora
{
   set hotspot
   {
      version
      {
         Visualparticle SFX A Hero Soul Aurora
      }
   }
}

//==============================================================================
define heavenlight
{
   set hotspot
   {
      version
      {
         Visualparticle SFX A Hero Soul Heaven Light
      }
   }
}

//==============================================================================
define soulbirth
{
   set hotspot
   {
      version
      {
         Visualparticle SFX A Hero Soul Birth
      }
   }
}

//==============================================================================
define arrow
{
   set hotspot
   {
      version
      {
         Visual Villager Arrow Normal
      }
   }
}

//==============================================================================
define axe
{
   TechLogic Hand Axe/Bow Saw/Carpenters
   set hotspot
   {
      version
      {
         Visual Attachments A Axe Hatchet
      }
   }
   set hotspot
   {
      version
      {
         Visual Attachments A Axe Wood
      }
   }
   set hotspot
   {
      version
      {
         Visual Attachments A Axe DoubleBit
      }
   }
}


//==============================================================================
define weapon
{
   TargetLogic none/wood
   set hotspot
   {
      version
      {
         Visual Attachments A Knife
      }
   }
   set hotspot
   {
      version
      {
         connect hotspot axe hotspot
      }
   }
}

//==============================================================================
define hammer
{
   set hotspot
   {
      version
      {
         Visual Tool Hammer
      }
   }
}

//==============================================================================
define hoe
{
   set hotspot
   {
      version
      {
         Visual tool hoe
      }
   }
}

//==============================================================================
define knife
{
   set hotspot
   {
      version
      {
         Visual tool knife
      }
   }
}

//==============================================================================
define pickaxe
{
   TechLogic PickAxe/Shaft Mine/Quarry
   set hotspot
   {
      version
      {
         Visual Tool Pickaxe Stone
      }
   }
   set hotspot
   {
      version
      {
         Visual Tool Pickaxe MetalBit
      }
   }
   set hotspot
   {
      version
      {
         Visual Tool Pickaxe Miners
      }
   }
}

//==============================================================================
define carryStuff
{
   CarryTypeLogic grain/meat/fish/wood/gold
   set hotspot
   {
      version
      {
         Visual Attachments A Resource Grain
      }
   }
   set hotspot
   {
      version
      {
         Visual Attachments A Resource Meat
      }
   }
   set hotspot
   {
      version
      {
         Visual Attachments A Resource Fish
      }
   }
   set hotspot
   {
      version
      {
         Visual Attachments A Resource Wood
      }
   }
   set hotspot
   {
      version
      {
         Visual Attachments A Resource Gold
      }
   }
}

//==============================================================================
define BloodSpurt
{
   set hotspot
   {
      version
      {
         Visualparticle SFX A Blood Spurt
      }
   }
}

//==============================================================================
define Head
{
	VariationLogic
	SetSelector
	{
		set hotspot
		{
			version
			{
				Visual Villager N feMale Head
			}
		}
	}
}


//==============================================================================
anim GatherChop
{
   SetSelector
   {
		VariationLogic
		SetSelector
		{
			set hotspot
			{
				version
				{
					Visual Villager N feMale_ChopA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
						tag SpecificSoundSet 0.67 false GatherChop checkVisible 
//-- end auto generated section
					connect RightHand Axe hotspot
				Connect FRONTABDOMEN heroglow hotspot
				}
			}
		}
   }
}


//==============================================================================
anim GatherMine
{
   SetSelector
   {
		VariationLogic
		SetSelector
		{
			set hotspot
			{
				version
				{
					Visual Villager N female_MineA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag GenericSound 0.54 true   
                  tag SpecificSoundSet 0.67 false GatherMine checkVisible 
//-- end auto generated section
					connect RightHand pickaxe hotspot
				Connect FRONTABDOMEN heroglow hotspot
               length 2.0
				}
			}
		}
   }
}


//==============================================================================
anim Attack
{
   SetSelector
   {
		TargetLogic none/wood
		SetSelector
		{
			VariationLogic
			SetSelector
			{
				set hotspot
				{
					version
					{
						Visual Villager N female_handAttack
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag GenericSound 0.40 true   
                  tag Attack 0.56 true   
//-- end auto generated section
						connect RightHand weapon hotspot
				Connect FRONTABDOMEN heroglow hotspot
					}
				}
			}
		}
		SetSelector
		{
			VariationLogic
			SetSelector
			{
				set hotspot
				{
					version
					{
						Visual Villager N feMale_Chopdown
//-- auto generated by the bang animation tool
//-- do not hand edit these values
						tag GenericSound 0.40 true	
						tag Attack 0.60 true	
						tag SpecificSoundSet 0.60 false TreeHit checkVisible 
//-- end auto generated section
						connect RightHand Axe hotspot
				Connect FRONTABDOMEN heroglow hotspot
					}
				}
			}
		}
   }
}


//==============================================================================
anim RangedAttack
{
   SetSelector
   {
		VariationLogic
		SetSelector
		{
			set hotspot
			{
				version
				{
					Visual Villager N female_RangedAttackA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag GenericSound 0.35 true   
                  tag SpecificSoundSet 0.54 false Arrow checkVisible 
                  tag Attack 0.57 true   
//-- end auto generated section
					connect LeftHand bow hotspot
				Connect FRONTABDOMEN heroglow hotspot
				}
			}
		}
	}
}


//==============================================================================
anim Death
{
   SetSelector
   {
		VariationLogic
		SetSelector
		{
			set hotspot
			{
				version
				{
				Visual Villager N female_DeathA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
            tag SpecificSoundSet 0.00 false AHeroHasFallen  checkOwner
                  tag SpecificSoundSet 0.67 false GatherChop checkVisible 
//-- end auto generated section
				connect ATTACHPOINT soul hotspot
				connect ATTACHPOINT soulaurora hotspot
				connect ATTACHPOINT heavenlight hotspot
				Connect FRONTABDOMEN heroglow hotspot
				connect ATTACHPOINT soulbirth hotspot
					connect RightHand knife hotspot
				}
			}
		}
   }
}

//==============================================================================
anim Recover
{
   SetSelector
   {
      set hotspot
      {
         version
         {
            Visual Villager N female_RangedAttackA
				connect HOTSPOT sunlight hotspot
				Connect FRONTABDOMEN heroglow hotspot
					connect LeftHand bow hotspot
         }
      }
   }
}


//==============================================================================
anim Idle
{
   SetSelector
   {
		VariationLogic
		SetSelector
		{
			InventoryLogic 0 1
			SetSelector
			{
				set hotspot
				{
					version
					{
						Visual Villager N Female_IdleA
				Connect FRONTABDOMEN heroglow hotspot
					connect RightHand knife hotspot
					}
				}
			}
			SetSelector
			{
				set hotspot
				{
					version
					{
						Visual Villager N Female_CarryIdleA
						Connect ATTACHPOINT carryStuff hotspot
				Connect FRONTABDOMEN heroglow hotspot
					connect RightHand knife hotspot
					}
				}
			}
		}
   }
}



//==============================================================================
anim Bored
{
   SetSelector
   {
		VariationLogic
		SetSelector
		{
			set hotspot
			{
				version
				{
					Visual Villager N female_BoredA
				Connect FRONTABDOMEN heroglow hotspot
					connect RightHand knife hotspot
				}
			}
		}
   }
}


//==============================================================================
anim walk
{
   SetSelector
   {
		VariationLogic
		SetSelector
		{
			set hotspot
			{
				version
				{
					Visual Villager N female_WalkA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag FootstepRight 0.10 true   
                  tag FootstepLeft 0.35 true   
                  tag FootstepRight 0.60 true   
                  tag FootstepLeft 0.85 true   
//-- end auto generated section
					connect TopofHead Head hotspot
				Connect FRONTABDOMEN heroglow hotspot
					connect RightHand knife hotspot
				}
			}
		}
   }
}


//==============================================================================
anim Build
{
   SetSelector
   {
		VariationLogic
      SetSelector
      {
         TargetLogic none/farm
         set hotspot
         {
            version
            {
               Visual Villager N female_BuildA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag GenericSound 0.62 true   
                  tag SpecificSoundSet 0.00 false Build checkVisible 
//-- end auto generated section
               connect RightHand hammer hotspot
				Connect FRONTABDOMEN heroglow hotspot
            }
         }
         set hotspot
         {
            version
            {
               visual Villager N female_SowA
					connect ATTACHPOINT basket hotspot
					connect RightHand seeds hotspot
				Connect FRONTABDOMEN heroglow hotspot
            }
         }
      }
   }
}


//==============================================================================
anim GatherFarm
{
   SetSelector
   {
		VariationLogic
		SetSelector
		{
			set hotspot
			{
				version
				{
					Visual Villager N female_FarmA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag GenericSound 0.92 true   
                  tag SpecificSoundSet 0.01 false GatherFarm checkVisible 
//-- end auto generated section
					connect RightHand hoe hotspot
               length 1.5
				Connect FRONTABDOMEN heroglow hotspot
				}
			}
		}
   }
}

//==============================================================================
anim Pray
{
   SetSelector
   {
		VariationLogic
		SetSelector
		{
			set hotspot
			{
				version
				{
					Visual Villager G female_PrayA
				Connect FRONTABDOMEN heroglow hotspot
					connect RightHand knife hotspot
				ReplaceTexture Villager G female/Villager N female
				ReplaceTexture Villager G female Head/Villager N feMale Head
				}
				version
				{
					Visual Villager G female_PrayB
				Connect FRONTABDOMEN heroglow hotspot
					connect RightHand knife hotspot
				ReplaceTexture Villager G female/Villager N female
				ReplaceTexture Villager G female Head/Villager N feMale Head
				}
			}
		}
   }
}


//==============================================================================
anim GatherHunt
{
   SetSelector
   {
		VariationLogic
		SetSelector
		{
			set Hotspot
			{
				version
				{
					Visual Villager N female_SliceA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag GenericSound 0.04 true   
                  tag SpecificSoundSet 0.83 false GatherFlay checkVisible 
//-- end auto generated section
					connect RightHand knife hotspot
				Connect FRONTABDOMEN heroglow hotspot
				}
			}
		}
   }
}

//==============================================================================
anim carry
{
   SetSelector
   {
		VariationLogic
		SetSelector
		{
			set hotspot
			{
				version
				{
					Visual Villager N female_CarryA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag FootstepLeft 0.40 true   
                  tag FootstepRight 0.70 true   
//-- end auto generated section
					Connect ATTACHPOINT carryStuff hotspot
				Connect FRONTABDOMEN heroglow hotspot
				}
			}
		}
   }
}

//==============================================================================
anim flail
{
   SetSelector
   {
		VariationLogic
		SetSelector
		{
			set hotspot
			{
				version
				{
					Visual Villager N female_FlailA
					//Connect RightHand BloodSpurt hotspot
				Connect FRONTABDOMEN heroglow hotspot
					connect RightHand knife hotspot
				}
			}
		}
   }
}

//==============================================================================
anim Gatherbush
{
   SetSelector
   {
		VariationLogic
		SetSelector
		{
			set hotspot
			{
				version
				{
					Visual Villager N female_HarvestA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag GenericSound 0.67 true   
                  tag SpecificSoundSet 0.50 false Forage checkVisible 
//-- end auto generated section
					connect LeftHand basket hotspot
				Connect FRONTABDOMEN heroglow hotspot
				}
			}
		}
   }
}